package fina2.dcs.fis;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "IN_LICENCES")
@SuppressWarnings("serial")
public class Licence implements Serializable {
	private BigDecimal id;
	private BigDecimal typeId;
	private String code;
	private Date creationDate;
	private Date dateofChange;
	private BigDecimal reasonStrId;
	private BigDecimal operational;
	private BigDecimal bankId;

	@Id
	@Column(name = "ID")
	public BigDecimal getId() {
		return id;
	}

	public void setId(BigDecimal id) {
		this.id = id;
	}

	@Column(name = "TYPEID")
	public BigDecimal getTypeId() {
		return typeId;
	}

	public void setTypeId(BigDecimal typeId) {
		this.typeId = typeId;
	}

	@Column(name = "CODE")
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Column(name = "CREATIONDATE")
	public Date getCreationDate() {
		return creationDate;
	}

	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}

	@Column(name = "DATEOFCHANGE")
	public Date getDateofChange() {
		return dateofChange;
	}

	public void setDateofChange(Date dateofChange) {
		this.dateofChange = dateofChange;
	}

	@Column(name = "REASONSTRID")
	public BigDecimal getReasonStrId() {
		return reasonStrId;
	}

	public void setReasonStrId(BigDecimal reasonStrId) {
		this.reasonStrId = reasonStrId;
	}

	@Column(name = "OPERATIONAL")
	public BigDecimal getOperational() {
		return operational;
	}

	public void setOperational(BigDecimal operational) {
		this.operational = operational;
	}

	@Column(name = "BANKID")
	public BigDecimal getBankId() {
		return bankId;
	}

	public void setBankId(BigDecimal bankId) {
		this.bankId = bankId;
	}

}
